package com.zzc.fwzpxt.mapper;

import com.zzc.fwzpxt.entity.Tag;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author XiaoBingBy
 * @since 2017-10-15
 */
public interface TagMapper extends BaseMapper<Tag> {

    /**
     * 传入文章Id查询文章标签
     * @param id
     * @return
     */
    List<Tag> findTagsByArticleId(Long id);

}